package com.zyd.shiro.business.service;

import com.github.pagehelper.PageInfo;
import com.zyd.shiro.business.entity.WxUser;
import com.zyd.shiro.framework.object.BaseConditionVO;
import com.zyd.shiro.framework.object.AbstractService;
import com.zyd.shiro.persistence.beans.PakWxUser;

public interface PakWxUserService extends AbstractService<WxUser, Long> {

    /**
     * 分页查询
     *
     * @param vo
     * @return
     */
    PageInfo<WxUser> findPageBreakByCondition(BaseConditionVO vo);

    void increase(PakWxUser pakWxUser);

    PakWxUser findByOpenid(String openid);

    PakWxUser findByUsername(String username);
}